# Maintainer: Hristiyan Ivanov <hristiyan.d.ivanov@gmail.com>
pkgname=py3-pyroma
_pkgname=pyroma
pkgver=2.6
pkgrel=4
pkgdesc="Python project assessment tool."
url="https://pypi.org/project/pyroma/"
arch="noarch"
license="MIT"
depends="py3-pygments py3-setuptools py3-docutils"
makedepends="python3-dev"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/regebro/$_pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="9cbaf4bafc78c8b70948b0ee4233c8c254cd0e2eba2df247a7ecb50595896464cffef67b97208d7196d521bb4219ae9056f8da33c7776f354ea6cbada32363be  py3-pyroma-2.6.tar.gz"
